package com.example.sharding.vo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by mazeyi on 2019/12/3.
 */
@Entity
@Table
@Data
public class User implements Serializable{

    private static final long serialVersionUID = 263434701950670170L;

    @Id
    private long userId;

    @Column
    private String userName;

    @Column
    private String userNamePlain;

    @Column
    private String pwd;

    @Column
    private String assistedQueryPwd;

    @Column
    private Byte sex;

}